<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Herevietnam.vn - One click, know VietNam</title>
<meta name='description' content='Mang xa hoi thong tin du lich truc tuyen Vietnam - Social network for Vietnam online travel information'>
<meta name='keywords' content='Vietnam travel, Visit Vietnam, Places in Vietnam, Events in Vietnam, Entertainment places in Vietnam, travel, du lich, dia diem, su kien'>
  <?= $this->headLink()->appendStylesheet('/public/themes/hard/css/yahoo.css') ?>
  <?= $this->headLink()->appendStylesheet('/public/themes/hard/css/style_012.css') ?>

  <?= $this->headLink()->appendStylesheet('/public/themes/hard/css/herevn.css') ?>
<?= $this->headLink()->appendStylesheet('/public/library/hvn/place.css') ?>
<link href="/public/themes/common/css/jsddm.css" media="screen" rel="stylesheet" type="text/css" />
  <script type="text/javascript" src="/public/library/jquery/jquery.js"></script>
  <script type="text/javascript" src="/public/library/hvn/hvn.js"></script>
  <script type="text/javascript" src="/public/library/hvn/jquery.svgallery.js"></script> 
  <script type="text/javascript" src="/public/themes/common/js/ddm.js"></script>
  <script src="/public/library/jquery/thickbox/jquery.DOMWindow.js" type="text/javascript"></script>
  <script src="/public/library/hvn/place.js" type="text/javascript"></script>
  

</head> 
<body>

<div style="width:1024px;border: 1px yellow solid;padding:10px">
<?  
    $holderWeights = Zend_Registry::get('holderWeights');
    asort ($holderWeights );
?>
    <div>
            <?foreach ($holderWeights as $k=>$v) :?>
                    <?if (strpos ($k, 'region1') === 0) :?>
                        <div  class='box region1' id="<?=$k?>">
                            <?echo $this->placeholder($k);?>
                       </div>
                    <?endif ?>
             <? endforeach ?>
    </div>
    <div id="#region3">
    	<?foreach ($holderWeights as $k=>$v) :?>
                    <?if (strpos ($k, 'region3') === 0) :?>
                        <div  class='box region3' id="<?=$k?>">
                            <?echo $this->placeholder($k);?>
                       </div>
                    <?endif ?>
             <? endforeach ?>
    </div>
    <div id="#region4" style="background-color:#edf7ff;width:730px;float:left">
         	<?foreach ($holderWeights as $k=>$v) :?>
                    <?if (strpos ($k, 'region4') === 0) :?>
                        <div  class='box region4' id="<?=$k?>">
                            <?echo $this->placeholder($k);?>
                       </div>
                    <?endif ?>
             <? endforeach ?>
    </div>            
    
    <div id="#region5" style="background-color:#e3eaed;width:250px;float:left;border: 1px blue solid;margin-left:30px">
    <h2> region 5 </h2>
            <?foreach ($holderWeights as $k=>$v) :?>
                    <?if (strpos ($k, 'region5') === 0) :?>
                        <div  class='box' id="<?=$k?>">
                            <?echo $this->placeholder($k);?>
                       </div>
                    <?endif ?>
             <? endforeach ?>
    </div>            
    <div style="clear:both"></div>
<div id="#footer" style="height:80px;background-color:#84828f">

</div>

</div>
<div>
<? 		
	$ajaxWidgetSess = new Zend_Session_Namespace(AJAX_WIDGETS_NS);
	$sess = new Zend_Session_Namespace(CLU_NS);
?>
<?if (isset($ajaxWidgetSess) && (isset($ajaxWidgetSess->ajaxWidgets)) && count($ajaxWidgetSess->ajaxWidgets) > 0) :?>
<script type="text/javascript">
    $(function() {
        <?foreach ($ajaxWidgetSess->ajaxWidgets as $placeHolder=>$w)  :?>
            $.get("http://<?=SITE_URL?>/<?=$sess->viewLang?>/common/loader/load-widget?placeHolder=<?=$placeHolder ?>",{}, function(data){
                $("#<?=$placeHolder ?>").html(data);
            });
        <?endforeach ?>
    });   
</script>
<?endif?>
</div>
</body>
</html>
